What is factory design pattern with example

join shbcf.ru